package com.taobao.shopcart.service;

import com.taobao.base.model.RestResponse;
import com.taobao.shopcart.model.dto.OrderDto;
import com.taobao.shopcart.model.po.Orders;

import java.util.List;

public interface OrderService {


    /**
     * 获取未付款订单
     */
    public RestResponse<List<OrderDto>> getUnpaidOrder(int userId);

    /**
     * 获取待发货订单
     */
    public RestResponse<List<OrderDto>> getUnshippedOrder(int userId);

    /**
     * 获取所有订单
     */
    public RestResponse<List<Orders>> getAllOrder(int userId);
}
